//
//  CLTitleCell.m
//  chanlin
//
//  Created by Ryan on 14-11-17.
//  Copyright (c) 2014年 chanlin. All rights reserved.
//

#import "CLTitleCell.h"

@implementation CLTitleCell

-(void)initUI{
    [super initUI];
    self.text=[[UITextView alloc] init];
    self.text.scrollEnabled=NO;
    self.text.backgroundColor=self.backgroundColor;
    self.text.contentInset=UIEdgeInsetsMake(-10.f, -5.f, 0, 0);
    self.text.editable=NO;
    self.text.frame=CGRectMake(I_DOC_TEXT_MARGIN_SPACE, 20.0f+5, I_DOC_CONTENT_WIDTH, 56.0f);
    [self.contentView addSubview:self.text];
}

- (void)setTitle:(NSAttributedString *)title{
    self.text.attributedText=title;
}

@end
